package com.sciencep.pro.core.service;

import com.sciencep.pro.common.domain.ResponseResult;
import com.sciencep.pro.common.exception.CustomException;
import com.sciencep.pro.core.domain.entity.TaskLog;
import com.taobao.api.ApiException;

import java.text.ParseException;
import java.util.List;

public interface ITaskService {

    List<TaskLog> lastConcatUser();

    List<TaskLog> lastConcatLog();

    List<TaskLog> concatLastOtherLog();

    List<TaskLog> concatUser();

    List<TaskLog> concatLog();

    List<TaskLog> concatOtherLog() throws CustomException, ApiException;

    ResponseResult<Object> getDeptList();

    ResponseResult<Object> getUserList();

    ResponseResult<Object> getUserRole();

    ResponseResult<Object> getResignUser();

    ResponseResult<Object> getAttendanceList(String time);

    ResponseResult<Object> getLeaveList();

    ResponseResult<Object> getWorkDailyList(String time);

    void getProcessingResult();

    ResponseResult<Object> getCalendar() throws ParseException;

    ResponseResult<Object> getOtherDeptList() throws CustomException, ApiException;

    ResponseResult<Object> getOtherUserList() throws CustomException, ApiException;

    ResponseResult<Object> getOtherResignUser() throws CustomException, ApiException;

    ResponseResult<Object> getOtherAttendanceList(String time) throws CustomException, ApiException;

    ResponseResult<Object> getOtherLeaveList() throws CustomException, ApiException;

    ResponseResult<Object> getOtherWorkDailyList(String time) throws CustomException, ApiException;

    List<TaskLog> concatLogNew(String time);

    List<TaskLog> concatOtherLogNew(String time) throws CustomException, ApiException;
}
